package com.yanqu.data.analytics.enums;

/**
 * 公共事件属性
 */
public enum  ePublicEventAttr {
    /**
     * 系统预制类
     */
    DEVICE_ID("#device_id", "设备id"),
    OS("#os", "操作系统"),
    OS_VERSION("#os_version", "操作系统版本"),
    APP_VERSION("#app_version", "app版本号"),
    IP("#ip", "IP 地址"),
    MANUFACTURER("#manufacturer", "设备制造商"),
    NETWORK_TYPE("#network_type", "网络状态"),
    CARRIER("#carrier", "网络运营商"),
    ZONE_OFFSET("#zone_offset", "时区偏移"),
    SYSTEM_LANGUAGE("#system_language", "系统语言"),

    /**
     * 基本信息类
     */
    CHANNEL("channel", "注册渠道"),
    CHANNEL_ID("channel_id", "注册渠道"),
    PLATFORM_ID("platform_id", "平台id"),
    OPEN_ID("open_id", "账号id"),
    USERID_ID("userid_id", "角色ID"),
    USERALIAS_ID("useralias_id", "玩家ID"),
    SERVER_ID("server_id", "区服ID"),
    CREATE_ROLE_TIME("create_role_time", "创角时间"),
    CURRENT_LEVEL("current_level", "角色等级"),
    CURRENT_REPUTATION("current_reputation", "当前声望"),
    VIP_LEVEL("vip_level", "当前vip等级"),
    VIP_EXP("vip_exp", "当前vip经验"),
    CURRENT_SPEED("current_speed", "当前赚速"),
    CURRENT_GUEST_POWER("current_guest_power", "当前门客赚钱"),
    CURRENT_GAMELEVEL("current_gamelevel", "当前停留关卡"),
    CURRENT_MAINLINE("current_mainline", "当前停留主线"),
    CURRENT_GUILD("current_guild", "当前商会"),
    LAST_PAY_TIME("last_pay_time", "最后充值时间"),
    LAST_LOG_TIME("last_log_time", "最后登录时间"),

    SERVER_NAME("server_name", "区服名称"),
    ROLE_NAME("role_name", "角色名称"),
    //NO("no", "编号"),
    DEVICE_ID2("device_id", "设备ID"),
    PID("pid", "pid"),

    CURRENT_HOUSELV("current_houselv", "当前钱庄等级"),
    CURRENT_STORE_NUMBER("current_store_number", "当前商铺个数"),
    CURRENT_TALENTS_LIST("current_talents_list", "当前拥有门客列表"),
    CURRENT_BEAUTY_LIST("current_Beauty_list", "当前拥有知己列表"),
    CURRENT_GUIDE_ID("current_guide_id", "当前新手引导id"),

    CURRENT_SENSE("current_sense", "当前见识"),
    LAST_LOGIN_TIME("last_login_time", "最后登录时间"),

    /**
     * 积累类
     */
    T0TAL_RECHARGE_AMOUNT("total_recharge_amount", "累计付费金额"),
    TOTAL_RECHARGE_DAYS("total_recharge_days", "当前累计充值天数"),
    TOTAL_LOGIN_DAYS("total_login_days", "当前累计登录天数"),

    /**
     * 资源类
     */
    CURRENT_GOLD("current_gold", "当前金子数量"),
    CURRENT_SLIVER("current_sliver", "当前银子数量"),


    ;

    private String attrId;

    private String name;

    ePublicEventAttr(String attrId, String name) {
        this.attrId = attrId;
        this.name = name;
    }

    public String getAttrId() {
        return attrId;
    }

    public void setAttrId(String attrId) {
        this.attrId = attrId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
